package training03;

public class Student {
    private int id;
    private String name;
    private String className;
    private String born;

    public Student() {
    }

    public Student(int id, String name, String className, String born) {
        this.id = id;
        this.name = name;
        this.className = className;
        this.born = born;
    }
    public String toString(){
        return id + " " + name + " " + className + " " + born;
    }
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getBorn() {
        return born;
    }

    public void setBorn(String born) {
        this.born = born;
    }
}
